package com.woniuxy.lab.woniu_lab.service;


import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.lab.woniu_lab.model.Charge;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.lab.woniu_lab.service.dto.ChargeDto;

import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;

/**
 * <p>
 * 充值记录表 服务类
 * </p>
 *
 * @author Silas
 * @since 2023-03-15
 */
public interface ChargeService extends IService<Charge> {

    IPage<ChargeDto> findMy(Integer userId,Integer page,Integer size);

    String createOrder(BigDecimal money);

    void paySuccess(String outTradeNo);

    String continuePay(String no);

    void cancelPay(String no);
}
